<template>
  <div>
    <p style="color: blue">个人信息</p>
    <header>
      <slot name="header"></slot>
    </header>
    <main>
      <slot></slot>
    </main>
    <footer>
      <slot name="footer"></slot>
    </footer>
  </div>
</template>

<script>
export default {
  props: {},
  data() {
    return {};
  },
  mounted() {
    console.log(this.$slots.default);
  },
};
</script>